package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.HealthinterventionDiseaselibrary;
import com.zj.healthmanage.mapper.HealthinterventionDiseaselibraryMapper;
import com.zj.healthmanage.service.HealthinterventionDiseaselibraryService;
@Service
public class HealthinterventionDiseaselibraryServiceImpl implements HealthinterventionDiseaselibraryService{

    @Resource
    private HealthinterventionDiseaselibraryMapper healthinterventionDiseaselibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer healthinterventionId,Integer diseaselibraryId) {
        return healthinterventionDiseaselibraryMapper.deleteByPrimaryKey(healthinterventionId,diseaselibraryId);
    }

    @Override
    public int insert(HealthinterventionDiseaselibrary record) {
        return healthinterventionDiseaselibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(HealthinterventionDiseaselibrary record) {
        return healthinterventionDiseaselibraryMapper.insertSelective(record);
    }

}
